package cases.chapter04.chapter0404;

public class AbstractDemo {
    public static void main(String[] args) {
        Person per1 = new Student("张三", 18);
        Person per2 = new Teacher("李四", 30);
        per1.say();
        per2.say();
    }
}
